/**
 * Created with IntelliJ IDEA.
 * Description:
 */
public class TestDemo {
    public static void main(String[] args) {
        int a = 1;
        int b = 2;
        double c = 3.0;
        double d = 4.0;
        double e = 5.0;
        System.out.println(Sum(a,b));
        System.out.println(Sum(c,d,e));
    }

    public static int Sum(int x,int y){
        return x+y;
    }

    public static double Sum(double x,double y,double z){
        return x+y+z;
    }
}
